package com.hotai.vo.courseware;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.hotai.comment.dtos.PageRequestDto;
import com.hotai.comment.pojo.Courseware;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Coursewaredetaile{
    private  Integer id;
    private  String  img;
    private  String  name;
    private  String  subject;
    private  String   clas;
    private  Integer  status;


    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //从数据库
    private Date createDate;
//大小
    private  Integer  capacity;

    //真实姓名
    private  String  studentName;
    //用户名

    private  String sname;
   //学习次数
    private  Integer  xueNum;
    //学习时长
    private  Integer  zhang;
   //完成度
    private  Integer  completion;

   private  Integer    pinshi;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm") //从数据库
    //最近学习时间
    private  Date  xueDate;





}
